<%@ tag pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="promotion" uri="http://com.primus.promotion/tag/core" %>
<%@ attribute name="fieldId" required="false" type="java.lang.Object" %>
<%@ attribute name="fieldName" required="true" type="java.lang.String" %>
<%@ attribute name="selectedField" required="false" type="java.util.List" %>
<%@ attribute name="fmtCls" required="false" type="java.lang.String" %>
<%@ attribute name="excludeProduct" required="false" type="java.lang.Boolean" %>
<select id='${fieldId}' name="${fieldName}" data-placeholder="赠品类型..." class="chosen-select form-control <c:if test="${not empty fmtCls}">${fmtCls}</c:if>">
    <promotion:promotionGiftTypeTag selectedGiftType="${selectedField}" excludeProduct="${excludeProduct}"/>
</select>